<?php


class CommonController extends Controller{
	
	public function __construct(){
		parent::__construct();
		if(!defined('__TEMPLATE__')){
			define('__TEMPLATE__', __ROOT__ . '/template/' . C('index_tpl_style'));
		}
		
	}
	public function dis($tpl){
		$template='template/' .  C('index_tpl_style') . '/' . $tpl;
		$this->display($template);
	}
}







